

import { http } from "@/utils/request";

export const myget_user_info = (data:any)=> {
  return http('POST','/my/get_user_info',data)//获取个人信息
};


export const friendcontact_user_avatar = (data:any)=> {
  return http('GET','/friend/contact_user_avatar',data)//获取个人信息
};


export const myadd_favourite = (data:any)=> {
  return http('POST','/my/add_favourite',data)//添加收藏
};

export const friend_block = (data:any)=> {
  return http('POST','/friend/block/'+data.unique_code)//拉黑好友
};

export const blocked_friend = (data:any)=> {
  return http('POST','/blocked_friend/query', data)//黑名单列表
};

export const blocked_friend_remove = (data:any)=> {
  return http('POST','/blocked_friend/remove/'+data.unique_code) //移除黑名单
};

export const report_report = (data:any)=> {
  return http('POST','/report/report', data)//举报
};

export const recently_share = (data:any)=> {
  return http('POST','/recently_share', data)//记录分享用户
};

export const user_recently_share_contactquery = (data:any)=> {
  return http('POST','/user_recently_share_contact/query', data)//最近分享人或群组
};



export const friend_delete = (data:any)=> {
  return http('POST','/friend/delete/'+data.unique_code)//删除好友
};

